package com.ethink.warehouse.api.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 辉辉 2023/2/9 14:05
 */
@Data
public class MateInventoryOtherInLogDetailExcelImportModel {

    @Schema(description = "*商品编码")
    private String mateSku;

    @Schema(description = "商品名称")
    private String mateSkuName;

    @Schema(description = "*库存类型")
    private Integer inventoryType;

    @Schema(description = "*生产批次")
    private String produceCode;

    @Schema(description ="*成本价(美元)")
    private BigDecimal exceptCostPrice;

    @Schema(description ="*入库时间")
    private Date rkTime;

    @Schema(description ="采购批次")
    private String purchaseCode;

    @Schema(description ="*入库数量")
    private Integer qty;

    @Schema(description ="原产国")
    private String countryOfOrigin;

    @Schema(description ="生产日期")
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date productDate;

    @Schema(description ="到期日期")
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date expireDate;

}
